package org.xxpay.core.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PayInterfaceTypeExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    private Integer limit;

    private Integer offset;

    public PayInterfaceTypeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIfTypeCodeIsNull() {
            addCriterion("IfTypeCode is null");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeIsNotNull() {
            addCriterion("IfTypeCode is not null");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeEqualTo(String value) {
            addCriterion("IfTypeCode =", value, "ifTypeCode");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeNotEqualTo(String value) {
            addCriterion("IfTypeCode <>", value, "ifTypeCode");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeGreaterThan(String value) {
            addCriterion("IfTypeCode >", value, "ifTypeCode");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeGreaterThanOrEqualTo(String value) {
            addCriterion("IfTypeCode >=", value, "ifTypeCode");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeLessThan(String value) {
            addCriterion("IfTypeCode <", value, "ifTypeCode");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeLessThanOrEqualTo(String value) {
            addCriterion("IfTypeCode <=", value, "ifTypeCode");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeLike(String value) {
            addCriterion("IfTypeCode like", value, "ifTypeCode");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeNotLike(String value) {
            addCriterion("IfTypeCode not like", value, "ifTypeCode");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeIn(List<String> values) {
            addCriterion("IfTypeCode in", values, "ifTypeCode");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeNotIn(List<String> values) {
            addCriterion("IfTypeCode not in", values, "ifTypeCode");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeBetween(String value1, String value2) {
            addCriterion("IfTypeCode between", value1, value2, "ifTypeCode");
            return (Criteria) this;
        }

        public Criteria andIfTypeCodeNotBetween(String value1, String value2) {
            addCriterion("IfTypeCode not between", value1, value2, "ifTypeCode");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameIsNull() {
            addCriterion("IfTypeName is null");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameIsNotNull() {
            addCriterion("IfTypeName is not null");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameEqualTo(String value) {
            addCriterion("IfTypeName =", value, "ifTypeName");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameNotEqualTo(String value) {
            addCriterion("IfTypeName <>", value, "ifTypeName");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameGreaterThan(String value) {
            addCriterion("IfTypeName >", value, "ifTypeName");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("IfTypeName >=", value, "ifTypeName");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameLessThan(String value) {
            addCriterion("IfTypeName <", value, "ifTypeName");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameLessThanOrEqualTo(String value) {
            addCriterion("IfTypeName <=", value, "ifTypeName");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameLike(String value) {
            addCriterion("IfTypeName like", value, "ifTypeName");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameNotLike(String value) {
            addCriterion("IfTypeName not like", value, "ifTypeName");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameIn(List<String> values) {
            addCriterion("IfTypeName in", values, "ifTypeName");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameNotIn(List<String> values) {
            addCriterion("IfTypeName not in", values, "ifTypeName");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameBetween(String value1, String value2) {
            addCriterion("IfTypeName between", value1, value2, "ifTypeName");
            return (Criteria) this;
        }

        public Criteria andIfTypeNameNotBetween(String value1, String value2) {
            addCriterion("IfTypeName not between", value1, value2, "ifTypeName");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andMustFromTemplateIsNull() {
            addCriterion("MustFromTemplate is null");
            return (Criteria) this;
        }

        public Criteria andMustFromTemplateIsNotNull() {
            addCriterion("MustFromTemplate is not null");
            return (Criteria) this;
        }

        public Criteria andMustFromTemplateEqualTo(Byte value) {
            addCriterion("MustFromTemplate =", value, "mustFromTemplate");
            return (Criteria) this;
        }

        public Criteria andMustFromTemplateNotEqualTo(Byte value) {
            addCriterion("MustFromTemplate <>", value, "mustFromTemplate");
            return (Criteria) this;
        }

        public Criteria andMustFromTemplateGreaterThan(Byte value) {
            addCriterion("MustFromTemplate >", value, "mustFromTemplate");
            return (Criteria) this;
        }

        public Criteria andMustFromTemplateGreaterThanOrEqualTo(Byte value) {
            addCriterion("MustFromTemplate >=", value, "mustFromTemplate");
            return (Criteria) this;
        }

        public Criteria andMustFromTemplateLessThan(Byte value) {
            addCriterion("MustFromTemplate <", value, "mustFromTemplate");
            return (Criteria) this;
        }

        public Criteria andMustFromTemplateLessThanOrEqualTo(Byte value) {
            addCriterion("MustFromTemplate <=", value, "mustFromTemplate");
            return (Criteria) this;
        }

        public Criteria andMustFromTemplateIn(List<Byte> values) {
            addCriterion("MustFromTemplate in", values, "mustFromTemplate");
            return (Criteria) this;
        }

        public Criteria andMustFromTemplateNotIn(List<Byte> values) {
            addCriterion("MustFromTemplate not in", values, "mustFromTemplate");
            return (Criteria) this;
        }

        public Criteria andMustFromTemplateBetween(Byte value1, Byte value2) {
            addCriterion("MustFromTemplate between", value1, value2, "mustFromTemplate");
            return (Criteria) this;
        }

        public Criteria andMustFromTemplateNotBetween(Byte value1, Byte value2) {
            addCriterion("MustFromTemplate not between", value1, value2, "mustFromTemplate");
            return (Criteria) this;
        }

        public Criteria andParamIsNull() {
            addCriterion("Param is null");
            return (Criteria) this;
        }

        public Criteria andParamIsNotNull() {
            addCriterion("Param is not null");
            return (Criteria) this;
        }

        public Criteria andParamEqualTo(String value) {
            addCriterion("Param =", value, "param");
            return (Criteria) this;
        }

        public Criteria andParamNotEqualTo(String value) {
            addCriterion("Param <>", value, "param");
            return (Criteria) this;
        }

        public Criteria andParamGreaterThan(String value) {
            addCriterion("Param >", value, "param");
            return (Criteria) this;
        }

        public Criteria andParamGreaterThanOrEqualTo(String value) {
            addCriterion("Param >=", value, "param");
            return (Criteria) this;
        }

        public Criteria andParamLessThan(String value) {
            addCriterion("Param <", value, "param");
            return (Criteria) this;
        }

        public Criteria andParamLessThanOrEqualTo(String value) {
            addCriterion("Param <=", value, "param");
            return (Criteria) this;
        }

        public Criteria andParamLike(String value) {
            addCriterion("Param like", value, "param");
            return (Criteria) this;
        }

        public Criteria andParamNotLike(String value) {
            addCriterion("Param not like", value, "param");
            return (Criteria) this;
        }

        public Criteria andParamIn(List<String> values) {
            addCriterion("Param in", values, "param");
            return (Criteria) this;
        }

        public Criteria andParamNotIn(List<String> values) {
            addCriterion("Param not in", values, "param");
            return (Criteria) this;
        }

        public Criteria andParamBetween(String value1, String value2) {
            addCriterion("Param between", value1, value2, "param");
            return (Criteria) this;
        }

        public Criteria andParamNotBetween(String value1, String value2) {
            addCriterion("Param not between", value1, value2, "param");
            return (Criteria) this;
        }

        public Criteria andWhiteIpIsNull() {
            addCriterion("WhiteIp is null");
            return (Criteria) this;
        }

        public Criteria andWhiteIpIsNotNull() {
            addCriterion("WhiteIp is not null");
            return (Criteria) this;
        }

        public Criteria andWhiteIpEqualTo(String value) {
            addCriterion("WhiteIp =", value, "whiteIp");
            return (Criteria) this;
        }

        public Criteria andWhiteIpNotEqualTo(String value) {
            addCriterion("WhiteIp <>", value, "whiteIp");
            return (Criteria) this;
        }

        public Criteria andWhiteIpGreaterThan(String value) {
            addCriterion("WhiteIp >", value, "whiteIp");
            return (Criteria) this;
        }

        public Criteria andWhiteIpGreaterThanOrEqualTo(String value) {
            addCriterion("WhiteIp >=", value, "whiteIp");
            return (Criteria) this;
        }

        public Criteria andWhiteIpLessThan(String value) {
            addCriterion("WhiteIp <", value, "whiteIp");
            return (Criteria) this;
        }

        public Criteria andWhiteIpLessThanOrEqualTo(String value) {
            addCriterion("WhiteIp <=", value, "whiteIp");
            return (Criteria) this;
        }

        public Criteria andWhiteIpLike(String value) {
            addCriterion("WhiteIp like", value, "whiteIp");
            return (Criteria) this;
        }

        public Criteria andWhiteIpNotLike(String value) {
            addCriterion("WhiteIp not like", value, "whiteIp");
            return (Criteria) this;
        }

        public Criteria andWhiteIpIn(List<String> values) {
            addCriterion("WhiteIp in", values, "whiteIp");
            return (Criteria) this;
        }

        public Criteria andWhiteIpNotIn(List<String> values) {
            addCriterion("WhiteIp not in", values, "whiteIp");
            return (Criteria) this;
        }

        public Criteria andWhiteIpBetween(String value1, String value2) {
            addCriterion("WhiteIp between", value1, value2, "whiteIp");
            return (Criteria) this;
        }

        public Criteria andWhiteIpNotBetween(String value1, String value2) {
            addCriterion("WhiteIp not between", value1, value2, "whiteIp");
            return (Criteria) this;
        }

        public Criteria andOrderExpireIsNull() {
            addCriterion("OrderExpire is null");
            return (Criteria) this;
        }

        public Criteria andOrderExpireIsNotNull() {
            addCriterion("OrderExpire is not null");
            return (Criteria) this;
        }

        public Criteria andOrderExpireEqualTo(Integer value) {
            addCriterion("OrderExpire =", value, "orderExpire");
            return (Criteria) this;
        }

        public Criteria andOrderExpireNotEqualTo(Integer value) {
            addCriterion("OrderExpire <>", value, "orderExpire");
            return (Criteria) this;
        }

        public Criteria andOrderExpireGreaterThan(Integer value) {
            addCriterion("OrderExpire >", value, "orderExpire");
            return (Criteria) this;
        }

        public Criteria andOrderExpireGreaterThanOrEqualTo(Integer value) {
            addCriterion("OrderExpire >=", value, "orderExpire");
            return (Criteria) this;
        }

        public Criteria andOrderExpireLessThan(Integer value) {
            addCriterion("OrderExpire <", value, "orderExpire");
            return (Criteria) this;
        }

        public Criteria andOrderExpireLessThanOrEqualTo(Integer value) {
            addCriterion("OrderExpire <=", value, "orderExpire");
            return (Criteria) this;
        }

        public Criteria andOrderExpireIn(List<Integer> values) {
            addCriterion("OrderExpire in", values, "orderExpire");
            return (Criteria) this;
        }

        public Criteria andOrderExpireNotIn(List<Integer> values) {
            addCriterion("OrderExpire not in", values, "orderExpire");
            return (Criteria) this;
        }

        public Criteria andOrderExpireBetween(Integer value1, Integer value2) {
            addCriterion("OrderExpire between", value1, value2, "orderExpire");
            return (Criteria) this;
        }

        public Criteria andOrderExpireNotBetween(Integer value1, Integer value2) {
            addCriterion("OrderExpire not between", value1, value2, "orderExpire");
            return (Criteria) this;
        }

        public Criteria andPayConfirmAmountIsNull() {
            addCriterion("PayConfirmAmount is null");
            return (Criteria) this;
        }

        public Criteria andPayConfirmAmountIsNotNull() {
            addCriterion("PayConfirmAmount is not null");
            return (Criteria) this;
        }

        public Criteria andPayConfirmAmountEqualTo(Long value) {
            addCriterion("PayConfirmAmount =", value, "payConfirmAmount");
            return (Criteria) this;
        }

        public Criteria andPayConfirmAmountNotEqualTo(Long value) {
            addCriterion("PayConfirmAmount <>", value, "payConfirmAmount");
            return (Criteria) this;
        }

        public Criteria andPayConfirmAmountGreaterThan(Long value) {
            addCriterion("PayConfirmAmount >", value, "payConfirmAmount");
            return (Criteria) this;
        }

        public Criteria andPayConfirmAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("PayConfirmAmount >=", value, "payConfirmAmount");
            return (Criteria) this;
        }

        public Criteria andPayConfirmAmountLessThan(Long value) {
            addCriterion("PayConfirmAmount <", value, "payConfirmAmount");
            return (Criteria) this;
        }

        public Criteria andPayConfirmAmountLessThanOrEqualTo(Long value) {
            addCriterion("PayConfirmAmount <=", value, "payConfirmAmount");
            return (Criteria) this;
        }

        public Criteria andPayConfirmAmountIn(List<Long> values) {
            addCriterion("PayConfirmAmount in", values, "payConfirmAmount");
            return (Criteria) this;
        }

        public Criteria andPayConfirmAmountNotIn(List<Long> values) {
            addCriterion("PayConfirmAmount not in", values, "payConfirmAmount");
            return (Criteria) this;
        }

        public Criteria andPayConfirmAmountBetween(Long value1, Long value2) {
            addCriterion("PayConfirmAmount between", value1, value2, "payConfirmAmount");
            return (Criteria) this;
        }

        public Criteria andPayConfirmAmountNotBetween(Long value1, Long value2) {
            addCriterion("PayConfirmAmount not between", value1, value2, "payConfirmAmount");
            return (Criteria) this;
        }

        public Criteria andEnableNotifyIsNull() {
            addCriterion("EnableNotify is null");
            return (Criteria) this;
        }

        public Criteria andEnableNotifyIsNotNull() {
            addCriterion("EnableNotify is not null");
            return (Criteria) this;
        }

        public Criteria andEnableNotifyEqualTo(Byte value) {
            addCriterion("EnableNotify =", value, "enableNotify");
            return (Criteria) this;
        }

        public Criteria andEnableNotifyNotEqualTo(Byte value) {
            addCriterion("EnableNotify <>", value, "enableNotify");
            return (Criteria) this;
        }

        public Criteria andEnableNotifyGreaterThan(Byte value) {
            addCriterion("EnableNotify >", value, "enableNotify");
            return (Criteria) this;
        }

        public Criteria andEnableNotifyGreaterThanOrEqualTo(Byte value) {
            addCriterion("EnableNotify >=", value, "enableNotify");
            return (Criteria) this;
        }

        public Criteria andEnableNotifyLessThan(Byte value) {
            addCriterion("EnableNotify <", value, "enableNotify");
            return (Criteria) this;
        }

        public Criteria andEnableNotifyLessThanOrEqualTo(Byte value) {
            addCriterion("EnableNotify <=", value, "enableNotify");
            return (Criteria) this;
        }

        public Criteria andEnableNotifyIn(List<Byte> values) {
            addCriterion("EnableNotify in", values, "enableNotify");
            return (Criteria) this;
        }

        public Criteria andEnableNotifyNotIn(List<Byte> values) {
            addCriterion("EnableNotify not in", values, "enableNotify");
            return (Criteria) this;
        }

        public Criteria andEnableNotifyBetween(Byte value1, Byte value2) {
            addCriterion("EnableNotify between", value1, value2, "enableNotify");
            return (Criteria) this;
        }

        public Criteria andEnableNotifyNotBetween(Byte value1, Byte value2) {
            addCriterion("EnableNotify not between", value1, value2, "enableNotify");
            return (Criteria) this;
        }

        public Criteria andIfSourceTypeIsNull() {
            addCriterion("IfSourceType is null");
            return (Criteria) this;
        }

        public Criteria andIfSourceTypeIsNotNull() {
            addCriterion("IfSourceType is not null");
            return (Criteria) this;
        }

        public Criteria andIfSourceTypeEqualTo(Byte value) {
            addCriterion("IfSourceType =", value, "ifSourceType");
            return (Criteria) this;
        }

        public Criteria andIfSourceTypeNotEqualTo(Byte value) {
            addCriterion("IfSourceType <>", value, "ifSourceType");
            return (Criteria) this;
        }

        public Criteria andIfSourceTypeGreaterThan(Byte value) {
            addCriterion("IfSourceType >", value, "ifSourceType");
            return (Criteria) this;
        }

        public Criteria andIfSourceTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("IfSourceType >=", value, "ifSourceType");
            return (Criteria) this;
        }

        public Criteria andIfSourceTypeLessThan(Byte value) {
            addCriterion("IfSourceType <", value, "ifSourceType");
            return (Criteria) this;
        }

        public Criteria andIfSourceTypeLessThanOrEqualTo(Byte value) {
            addCriterion("IfSourceType <=", value, "ifSourceType");
            return (Criteria) this;
        }

        public Criteria andIfSourceTypeIn(List<Byte> values) {
            addCriterion("IfSourceType in", values, "ifSourceType");
            return (Criteria) this;
        }

        public Criteria andIfSourceTypeNotIn(List<Byte> values) {
            addCriterion("IfSourceType not in", values, "ifSourceType");
            return (Criteria) this;
        }

        public Criteria andIfSourceTypeBetween(Byte value1, Byte value2) {
            addCriterion("IfSourceType between", value1, value2, "ifSourceType");
            return (Criteria) this;
        }

        public Criteria andIfSourceTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("IfSourceType not between", value1, value2, "ifSourceType");
            return (Criteria) this;
        }

        public Criteria andIfVersionIsNull() {
            addCriterion("IfVersion is null");
            return (Criteria) this;
        }

        public Criteria andIfVersionIsNotNull() {
            addCriterion("IfVersion is not null");
            return (Criteria) this;
        }

        public Criteria andIfVersionEqualTo(String value) {
            addCriterion("IfVersion =", value, "ifVersion");
            return (Criteria) this;
        }

        public Criteria andIfVersionNotEqualTo(String value) {
            addCriterion("IfVersion <>", value, "ifVersion");
            return (Criteria) this;
        }

        public Criteria andIfVersionGreaterThan(String value) {
            addCriterion("IfVersion >", value, "ifVersion");
            return (Criteria) this;
        }

        public Criteria andIfVersionGreaterThanOrEqualTo(String value) {
            addCriterion("IfVersion >=", value, "ifVersion");
            return (Criteria) this;
        }

        public Criteria andIfVersionLessThan(String value) {
            addCriterion("IfVersion <", value, "ifVersion");
            return (Criteria) this;
        }

        public Criteria andIfVersionLessThanOrEqualTo(String value) {
            addCriterion("IfVersion <=", value, "ifVersion");
            return (Criteria) this;
        }

        public Criteria andIfVersionLike(String value) {
            addCriterion("IfVersion like", value, "ifVersion");
            return (Criteria) this;
        }

        public Criteria andIfVersionNotLike(String value) {
            addCriterion("IfVersion not like", value, "ifVersion");
            return (Criteria) this;
        }

        public Criteria andIfVersionIn(List<String> values) {
            addCriterion("IfVersion in", values, "ifVersion");
            return (Criteria) this;
        }

        public Criteria andIfVersionNotIn(List<String> values) {
            addCriterion("IfVersion not in", values, "ifVersion");
            return (Criteria) this;
        }

        public Criteria andIfVersionBetween(String value1, String value2) {
            addCriterion("IfVersion between", value1, value2, "ifVersion");
            return (Criteria) this;
        }

        public Criteria andIfVersionNotBetween(String value1, String value2) {
            addCriterion("IfVersion not between", value1, value2, "ifVersion");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeIsNull() {
            addCriterion("SupportConfigType is null");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeIsNotNull() {
            addCriterion("SupportConfigType is not null");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeEqualTo(String value) {
            addCriterion("SupportConfigType =", value, "supportConfigType");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeNotEqualTo(String value) {
            addCriterion("SupportConfigType <>", value, "supportConfigType");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeGreaterThan(String value) {
            addCriterion("SupportConfigType >", value, "supportConfigType");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeGreaterThanOrEqualTo(String value) {
            addCriterion("SupportConfigType >=", value, "supportConfigType");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeLessThan(String value) {
            addCriterion("SupportConfigType <", value, "supportConfigType");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeLessThanOrEqualTo(String value) {
            addCriterion("SupportConfigType <=", value, "supportConfigType");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeLike(String value) {
            addCriterion("SupportConfigType like", value, "supportConfigType");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeNotLike(String value) {
            addCriterion("SupportConfigType not like", value, "supportConfigType");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeIn(List<String> values) {
            addCriterion("SupportConfigType in", values, "supportConfigType");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeNotIn(List<String> values) {
            addCriterion("SupportConfigType not in", values, "supportConfigType");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeBetween(String value1, String value2) {
            addCriterion("SupportConfigType between", value1, value2, "supportConfigType");
            return (Criteria) this;
        }

        public Criteria andSupportConfigTypeNotBetween(String value1, String value2) {
            addCriterion("SupportConfigType not between", value1, value2, "supportConfigType");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}